// JavaScript Document
/*******地图浮动******/
$(function fixedmap(){
	var scrollTop = $("#map").offset().top;
	$(window).scroll(function() {
		var top =$(window).scrollTop();
		if(top >scrollTop)
		{
			$("#map").css("position","fixed");
			$("#map").css("top",0);
		}
		else if(scrollTop==scrollTop)
		{
			$("#map").css("position","static");
		}
		
    });
});

